home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Window / c / WholeRedrw < prev   
Text File  |  1995-07-21  |  1KB  |  35 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Window.WholeRedrw.c
  12.     Author:  Copyright © 1995 Sergio Monesi
  13.     Version: 1.00 (26 Feb 1995)
  14.     Purpose: Forces the redraw of a whole window
  15. */
  16.  
  17.  
  18. #include "DeskLib:Wimp.h"
  19. #include "DeskLib:WimpSWIs.h"
  20. #include "DeskLib:Window.h"
  21.  
  22.  
  23. extern os_error *Window_ForceWholeRedraw(window_handle window)
  24. {
  25.  window_redrawblock block;
  26.  
  27.  block.window=window;
  28.  block.rect.min.x=-65536;
  29.  block.rect.min.y=-65536;
  30.  block.rect.max.x=65536;
  31.  block.rect.max.y=65536;
  32.  
  33.  return Wimp_ForceRedraw(&block);
  34. }
  35.